Error trace:
MSTError Object
(
[errorCode] =>
[message:protected] => ERROR.LOCAL: Code: 1722:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/sporttia_20Dic2017/libs/ModelBase.php
[line:protected] => 179
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/sporttia_20Dic2017/libs/ModelBase.php
[line] => 97
[function] => executeSQL
[class] => ModelBase
[type] => ->
[args] => Array
(
[0] =>
select gm.*, h.*,
sc.short as sc_short, sc.name as sc_name, sc.googlemap_x as sc_googlemap_x, sc.googlemap_y as sc_googlemap_y,
sc.with_mst as sc_with_mst, sc.game_period_ini as sc_game_period_ini, sc.game_period_end as sc_game_period_end,
sc.address as sc_address,
t.id as t_id, t.name as t_name, t.name as sportName, t.num_players as t_num_players, t.result_type as t_result_type,
p.id as p_id, p.timebegin as p_timebegin, p.timeend as p_timeend, p.cron as p_cron, p.price as p_price, p.paid as p_paid,
f.id as f_id, f.name as f_name,
tm1.score as tm1_score, tm2.score as tm2_score, tm1.vote as tm1_vote, tm2.vote as tm2_vote
, (select nt.id from notification nt where nt.game_id=gm.id and nt.notification_type_id=12 and nt.parent_id is null) as nt_id
from
game gm
left join team tm1 on (gm.team1_id = tm1.id)
left join team tm2 on (gm.team2_id = tm2.id),
period p, field f, type t,
sportcenter sc left join (
select
ct.id as ct_id, ct.name as ct_name,
pv.name as pv_name
from city ct, province pv
where ct.province = pv.id
) h on (sc.city_id = h.ct_id)
where gm.sportcenter_id = sc.id
and gm.period_id = p.id
and gm.type_id = t.id
and p.field_id = f.id
and gm.id = '{{brick.game.id}}'
[1] => 1
)
)
[1] => Array
(
[file] => /var/www/sporttia_20Dic2017/models/gameModel.php
[line] => 672
[function] => executeSQL2
[class] => ModelBase
[type] => ->
[args] => Array
(
[0] =>
select gm.*, h.*,
sc.short as sc_short, sc.name as sc_name, sc.googlemap_x as sc_googlemap_x, sc.googlemap_y as sc_googlemap_y,
sc.with_mst as sc_with_mst, sc.game_period_ini as sc_game_period_ini, sc.game_period_end as sc_game_period_end,
sc.address as sc_address,
t.id as t_id, t.name as t_name, t.name as sportName, t.num_players as t_num_players, t.result_type as t_result_type,
p.id as p_id, p.timebegin as p_timebegin, p.timeend as p_timeend, p.cron as p_cron, p.price as p_price, p.paid as p_paid,
f.id as f_id, f.name as f_name,
tm1.score as tm1_score, tm2.score as tm2_score, tm1.vote as tm1_vote, tm2.vote as tm2_vote
, (select nt.id from notification nt where nt.game_id=gm.id and nt.notification_type_id=12 and nt.parent_id is null) as nt_id
from
game gm
left join team tm1 on (gm.team1_id = tm1.id)
left join team tm2 on (gm.team2_id = tm2.id),
period p, field f, type t,
sportcenter sc left join (
select
ct.id as ct_id, ct.name as ct_name,
pv.name as pv_name
from city ct, province pv
where ct.province = pv.id
) h on (sc.city_id = h.ct_id)
where gm.sportcenter_id = sc.id
and gm.period_id = p.id
and gm.type_id = t.id
and p.field_id = f.id
and gm.id = '{{brick.game.id}}'
[1] =>
[2] =>
[3] => Array
(
[page] =>
[numRows] =>
)
)
)
[2] => Array
(
[file] => /var/www/sporttia_20Dic2017/controllers/user/userGameController.php
[line] => 43
[function] => search
[class] => GameModel
[type] => ->
[args] => Array
(
[0] => Array
(
[game] => Array
(
[id] => {{brick.game.id}}
)
)
)
)
[3] => Array
(
[file] => /var/www/sporttia_20Dic2017/libs/FrontController.php
[line] => 41
[function] => index
[class] => userGameController
[type] => ->
[args] => Array
(
)
)
[4] => Array
(
[file] => /var/www/sporttia_20Dic2017/index.php
[line] => 114
[function] => main
[class] => FrontController
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)